package com.zelin.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zelin.pojo.Student;
import com.zelin.vo.StudentVo;

import java.util.List;

/**
 * Created by WF on 2021/10/19 15:53
 */
public interface StudentService {
    List<Student> findAll();

    Page<Student> findByPage(int page, int pageSize);

    void insert(Student student);

    void update(Student student);

    void delete(int sid);

    Page<Student> search(int page, int pageSize, StudentVo student);
}
